home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ssssccccssssiiiihhhhaaaa((((1111mmmm)))) ssssccccssssiiiihhhhaaaa((((1111mmmm))))
-
-
-
- NNNNAAAAMMMMEEEE
- scsiha - probe and control scsi buses
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ssssccccssssiiiihhhhaaaa [----llllpppprrrrttttwwww] [----DDDD _d_e_b_u_g_l_e_v_e_l] [----LLLL _t_a_r_g_e_t_I_D|aaaallllllll] {_b_u_s__n_u_m_b_e_r | _d_e_v_i_c_e} ...
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _s_c_s_i_h_a is used to perform operations on fibrechannel loops of SCSI
- devices and parallel SCSI buses.
-
- The following options apply to both parallel SCSI and fibrechannel SCSI:
-
- ----pppp Probe for devices on the bus or loop. On parallel SCSI buses, this
- option causes the driver to look for devices at every ID on the SCSI
- bus. On fibrechannel SCSI loops, this option causes the driver to
- look for devices at every ID that was reported in use at the most
- recent loop initialization. On parallel SCSI buses, when a device
- is found at lun 0, all other luns are then probed. When devices or
- luns are not valid, a warning message may be printed on the console.
- With fibrechannel, the Report Luns SCSI command is used to determine
- which LUNs are valid. If the Report Luns command returns error,
- only LUN 0 is assumed to be valid.
-
- After probing, new devices will have a controller number of "-1"
- until iiiiooooccccoooonnnnffffiiiigggg ----ffff ////hhhhwwww is run to update the hardware graph.
-
- ----rrrr Perform a SCSI bus reset and/or reset host adapter.
-
- TTTThhhhiiiissss aaaaffffffffeeeeccccttttssss aaaallllllll ddddeeeevvvviiiicccceeeessss oooonnnn tttthhhhaaaatttt SSSSCCCCSSSSIIII bbbbuuuussss,,,, ccccaaaauuuussssiiiinnnngggg ccccuuuurrrrrrrreeeennnntttt ccccoooommmmmmmmaaaannnnddddssss
- ttttoooo bbbbeeee aaaabbbboooorrrrtttteeeedddd,,,, aaaannnndddd ssssppppeeeecccciiiiaaaallllllllyyyy sssseeeetttt ppppaaaarrrraaaammmmeeeetttteeeerrrrssss ttttoooo bbbbeeee rrrreeeesssseeeetttt,,,, iiiinnnn mmmmaaaannnnyyyy
- ccccaaaasssseeeessss.... TTTTaaaappppeeee ddddrrrriiiivvvveeee ssssttttaaaatttteeee wwwwiiiillllllll bbbbeeee rrrreeeesssseeeetttt aaaafffftttteeeerrrr tttthhhhiiiissss,,,, aaaannnndddd aaaannnnyyyy ttttaaaappppeeee
- ooooppppeeeerrrraaaattttiiiioooonnnnssss iiiinnnn pppprrrrooooggggrrrreeeessssssss wwwwiiiillllllll bbbbeeee aaaabbbboooorrrrtttteeeedddd.
-
- This option should therefore be used with some caution. In very
- rare cases, it may cause a device to become unusable without a
- powercycle. There are times when it is desired to reset devices or
- adapters that appear to be hung, however, so this function is
- provided. Some host adapter drivers will reset the adapter as part
- of this ioctl. Fibrechannel adapters will perform loop
- initialization, making this operation similar to the ----llll option,
- except that the adapter will also be reset.
-
- ----DDDD _d_e_b_u_g_l_e_v_e_l
- Set the debug level in the host adapter driver. Where supported,
- this option changes the verbosity of a given host adapter driver.
- In general, 0 is least verbose, with no specific upward limit.
-
- The following option only applies to some parallel SCSI adapters:
-
- ----tttt Return interesting SCSI bus and attached target parameters. Bus
- parameters include whether the bus is single-ended or differential,
- the SCSI host ID and the selection timeout. The target parameters
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ssssccccssssiiiihhhhaaaa((((1111mmmm)))) ssssccccssssiiiihhhhaaaa((((1111mmmm))))
-
-
-
- include whether the device is capable of operating in narrow or wide
- mode, whether it's capable of doing synchronous transfer and if so,
- what the period and offset is.
-
- The following options only apply to Fibrechannel SCSI adapters:
-
- ----llll Perform loop initialization. During loop initialization, all
- devices on the loop will attempt to acquire a target ID. SGI
- devices will attempt to get the ID they have been selected for,
- either by settings on and position within an enclosure, or by
- dials/switches on the device. If multiple devices have the same ID
- selection, only one device will get that ID. Other devices will
- attempt to acquire IDs not in already in use.
-
- TTTThhhhiiiissss ooooppppttttiiiioooonnnn mmmmaaaayyyy hhhhaaaavvvveeee aaaa ssssiiiiddddeeee eeeeffffffffeeeecccctttt ooooffff aaaabbbboooorrrrttttiiiinnnngggg ccccuuuurrrrrrrreeeennnntttt ccccoooommmmmmmmaaaannnnddddssss
- oooouuuuttttssssttttaaaannnnddddiiiinnnngggg oooonnnn tttthhhheeee aaaaddddaaaapppptttteeeerrrr,,,, ssssoooo iiiitttt sssshhhhoooouuuulllldddd bbbbeeee uuuusssseeeedddd wwwwiiiitttthhhh ccccaaaarrrreeee.... TTTThhhheeee
- ddddiiiisssskkkk ddddrrrriiiivvvveeeerrrr wwwwiiiillllllll ttttyyyyppppiiiiccccaaaallllllllyyyy rrrreeeeiiiissssssssuuuueeee tttthhhheeee aaaabbbboooorrrrtttteeeedddd ccccoooommmmmmmmaaaannnnddddssss,,,, bbbbuuuutttt tttthhhheeeerrrreeee
- wwwwiiiillllllll bbbbeeee aaaa ppppeeeerrrrffffoooorrrrmmmmaaaannnncccceeee iiiimmmmppppaaaacccctttt wwwwhhhhiiiilllleeee ccccoooommmmmmmmaaaannnnddddssss aaaarrrreeee rrrreeeeiiiissssssssuuuueeeedddd....
-
-
-
- ----LLLL _t_a_r_g_e_t_I_D
- Send LIPRST to the specified device and then perform loop
- initialization. This option is much like ----llll above, except that it
- also requests that the device resets itself. Not all devices will
- honor the request. RAID controllers typically don't while disk
- drives typically do. This option can be used in rare cases where a
- device is not functioning properly, but is still able to complete
- loop initialization and acquire a target ID. For example, if a
- drive gets timeouts on attempts to probe (using the ----pppp option
- above), then this option may bring it back to working condition. In
- this respect, the ----LLLL option can be used for reasons similar to ----rrrr on
- parallel SCSI buses.
-
- ----LLLL aaaallllllll
- This option is like the ----LLLL option directly above, except that it
- directs all devices to reset themselves. Only devices that
- implement FC-AL-2 or later will respond to this. This option can be
- used if a loop is malfunctioning, and it is suspected that one or
- more devices may be causing the malfunction, but it isn't known
- which. RAID controllers typically don't honor the "self-reset"
- function of the LIPRST
-
- TTTThhhheeee ----LLLL ooooppppttttiiiioooonnnnssss mmmmaaaayyyy hhhhaaaavvvveeee aaaa ssssiiiiddddeeee eeeeffffffffeeeecccctttt ooooffff aaaabbbboooorrrrttttiiiinnnngggg ccccuuuurrrrrrrreeeennnntttt ccccoooommmmmmmmaaaannnnddddssss
- oooouuuuttttssssttttaaaannnnddddiiiinnnngggg oooonnnn tttthhhheeee aaaaddddaaaapppptttteeeerrrr,,,, aaaannnndddd iiiitttt iiiiffff tttthhhheeee ddddeeeevvvviiiicccceeee hhhhoooonnnnoooorrrrssss tttthhhheeee rrrreeeesssseeeetttt
- ffffuuuunnnnccccttttiiiioooonnnn,,,, oooouuuuttttssssttttaaaannnnddddiiiinnnngggg ccccoooommmmmmmmaaaannnnddddssss ttttoooo iiiitttt wwwwiiiillllllll bbbbeeee ddddrrrrooooppppppppeeeedddd.... TTTThhhheeee ddddiiiisssskkkk
- ddddrrrriiiivvvveeeerrrr wwwwiiiillllllll ttttyyyyppppiiiiccccaaaallllllllyyyy rrrreeeeiiiissssssssuuuueeee tttthhhheeee aaaabbbboooorrrrtttteeeedddd ccccoooommmmmmmmaaaannnnddddssss,,,, bbbbuuuutttt tttthhhheeeerrrreeee wwwwiiiillllllll
- bbbbeeee aaaa ppppeeeerrrrffffoooorrrrmmmmaaaannnncccceeee iiiimmmmppppaaaacccctttt wwwwhhhhiiiilllleeee ccccoooommmmmmmmaaaannnnddddssss aaaarrrreeee rrrreeeeiiiissssssssuuuueeeedddd aaaannnndddd wwwwhhhhiiiilllleeee aaaa
- ddddeeeevvvviiiicccceeee rrrreeeesssseeeettttssss....
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- ssssccccssssiiiihhhhaaaa((((1111mmmm)))) ssssccccssssiiiihhhhaaaa((((1111mmmm))))
-
-
-
- ----wwww This option will print the portname (sometimes known as the World
- Wide Name) of the fibrechannel adapter.
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
- To reset parallel scsi bus 2, use one of these commands:
-
- _ssss_cccc_ssss_iiii_hhhh_aaaa _----_rrrr _2222
- _ssss_cccc_ssss_iiii_hhhh_aaaa _----_rrrr _////_hhhh_wwww_////_ssss_cccc_ssss_iiii______cccc_tttt_llll_rrrr_////_2222_////_bbbb_uuuu_ssss
-
- To probe scsi bus 0, use one of these commands:
-
- _ssss_cccc_ssss_iiii_hhhh_aaaa _----_pppp _0000
- _ssss_cccc_ssss_iiii_hhhh_aaaa _----_pppp _////_hhhh_wwww_////_ssss_cccc_ssss_iiii______cccc_tttt_llll_rrrr_////_0000_////_bbbb_uuuu_ssss
-
- To reset target 8 and then perform loop initialization on fibrechannel
- bus 6, do the following:
-
- _ssss_cccc_ssss_iiii_hhhh_aaaa _----_LLLL _8888 _6666
- _ssss_cccc_ssss_iiii_hhhh_aaaa _----_LLLL _8888 _////_hhhh_wwww_////_ssss_cccc_ssss_iiii______cccc_tttt_llll_rrrr_////_6666_////_bbbb_uuuu_ssss
-
- FFFFIIIILLLLEEEESSSS
- /hw/scsi_ctlr/*/bus the scsi bus operation devices
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- ioconfig(1M), scsicontrol(1M), scsiha(7M).
-
- NNNNOOOOTTTTEEEE
- This command is normally usable only by the superuser, because the
- standard permissions of the devices in /_h_w/_s_c_s_i__c_t_l_r/* restrict access to
- other users.
-
- With Fibrechannel adapters, if a loop is broken after a system has been
- operational, numerous attempts will be made to reinitialize the loop,
- after which the host adapter driver will give up on the loop. At this
- point, if the hardware condition causing the broken loop is fixed (box of
- drives powered back on, cable reinserted, etc.), the ----rrrr option should be
- used to re-establish loop operation.
-
- The source to this program is also shipped as sample source code in the
- iiiirrrriiiixxxx____ddddeeeevvvv....ggggiiiiffffttttssss....ssssccccssssiiii subsystem as part of IDO.
-
- The Performance Co-Pilot (see _P_C_P(_1)) may be used to monitor SCSI
- devices, however configuration changes by _s_c_s_i_h_a may not be
- asynchronously detected. If SCSI devices are being monitored,
- _l_i_b_i_r_i_x_p_m_d_a(_5) may be notified and forced to reset using the command:
-
- > pmstore irix.xbow.switch 1
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-